Skip to main content

VS code 远程连接 remote ssh

Remote-ssh

下面 launch.json 文件 不知道是什么

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch file",
"type": "go",
"request": "launch",
"mode": "debug",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/game/main.go",
"args": [
"--gsport", "7000",
"--servername", "wxk",
"--pfenv", "dev",
"--serverid", "81",
"--feedserverid", "4",
"--dburl", "172.23.0.11:27017",
"--etcdcenter", "172.23.0.11:2379",
"--csv", "81",
"--debugbattle","true",
]
// "args": [
// "--debug","true",
// "--pfenv", "dev",
// "--serverid", "31",
// "--dburl", "172.20.130.39:27017",
// "--etcdcenter", "172.20.130.39:2379",
// "--logfile","./log/log_game.log"
// ]
},
{
"name": "Benchmark",
"type": "go",
"request": "launch",
"mode": "debug",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/client/benchmark",
"args": [
"--gateaddr", "172.23.0.11:20101",
"--gsid", "81",
"--dburl", "172.23.0.11:27017",
"--csv", "81",
"--robotcnt", "2000",
"--ccu", "2000",
"--freq", "100",
"--areaid","13610002",
]
},
{
"name": "Python: 当前文件",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
},
{
"name": "Launch Console",
"type": "go",
"request": "launch",
"mode": "debug",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/client/console",
"args": []
},
{
"name": "Game debug",
"type": "go",
"request": "launch",
"mode": "debug",
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/client/gamedebug",
"args": [
]
}
]
}